package com.lollipop.chain.advancedchain;


/**
 * @Author: J.K
 * @Date: 2021-08-31 13:31
 * @Description:
 */
public class FaceFilter implements Filter {
    @Override
    public void doFilter(Request request, Response response, FilterChain chain) {
        request.requestStr = request.requestStr.replace(":)", "^V^") + "---FaceFilter()";
        chain.doFilter(request, response, chain);
        response.responseStr += "---FaceFilter()";
    }
}
